import {postAjax,request} from '@/utils/axios';

export const getReportList = (params?: any) => {
    return postAjax('bus/dataApproval/reportList',params);
}

export const dataApproval = (params?: any) => {
    return request.post('bus/dataApproval/approval', params);
}

export const dataError = (params?: any) => {
    return request.post('bus/dataApproval/error', params);
}

export const haveCategory = (params?: any) => {
    return request.post('bus/dataApproval/haveCategory', params);
}

export const approvalFinish = (params?: any) => {
    return request.post('bus/dataApproval/approvalFinish', params);
}

export const report = (params?: any) => {
    return request.post('bus/dataApproval/report/'+ params.id);
}

export const reportBack = (params?: any) => {
    return request.post('bus/dataApproval/backReport/'+ params.id);
}


